﻿cd ./
rm -rf ./htdocs && mkdir htdocs
##
rsync -av ../registry-core/target/registry-core/* htdocs/registry/
rm -rf htdocs/registry/WEB-INF/classes/com/
rm -f htdocs/registry/WEB-INF/lib/jsqlparser-0.8.0.jar
##
rsync -av ../service-core/course-service/target/course-service/* htdocs/course/
rm -rf htdocs/course/WEB-INF/classes/com/
rm -f htdocs/course/WEB-INF/lib/jsqlparser-0.8.0.jar
##
rsync -av ../service-core/base-service/target/base-service/* htdocs/base/
rm -rf htdocs/base/WEB-INF/classes/com/
rm -f htdocs/base/WEB-INF/lib/jsqlparser-0.8.0.jar
##
rsync -av ../service-core/exam-service/target/exam-service/* htdocs/exam/
rm -rf htdocs/exam/WEB-INF/classes/com/
rm -f htdocs/exam/WEB-INF/lib/jsqlparser-0.8.0.jar
##
rsync -av ../web-core/admin/target/admin/* htdocs/admin/
rm -rf htdocs/admin/WEB-INF/classes/com/
rm -f htdocs/admin/WEB-INF/lib/jsqlparser-0.8.0.jar
##
rsync -av ../web-core/h5/target/h5/* htdocs/h5/
rm -rf htdocs/h5/WEB-INF/classes/com/
rm -f htdocs/h5/WEB-INF/lib/jsqlparser-0.8.0.jar
##
rsync -av ../web-core\app/target/app/*.* htdocs/app/
rm -rf htdocs/app/WEB-INF/classes/com/
rm -f htdocs/app/WEB-INF/lib/jsqlparser-0.8.0.jar
##
rsync -av ../web-core/front/target/front/* htdocs/front/
rm -rf htdocs/front/WEB-INF/classes/com/
rm -f htdocs/front/WEB-INF/lib/jsqlparser-0.8.0.jar
##
rsync -av ../web-core/res/target/res/* htdocs/res/
rm -rf htdocs/res/WEB-INF/classes/com/
rm -f htdocs/res/WEB-INF/lib/jsqlparser-0.8.0.jar
##